package com.scs.application.modules.dept.service;

import com.scs.application.core.service.IBaseService;
import com.scs.application.modules.base.entity.Warehouse;
import com.scs.application.modules.dept.dto.ReturnReagentDTO;
import com.scs.application.modules.dept.dto.UseReagentDTO;
import com.scs.application.modules.dept.entity.UseReagent;

import java.util.List;

/**
 * <p>
 * 试剂三级库使用明细 Service
 * </p>
 */

public interface UseReagentService extends IBaseService<UseReagent> {

    UseReagentDTO getBySn(String stockId, UseReagent use);

    List<UseReagentDTO> getBySns(List<String> stockIds, UseReagent use);

    void saveItems(List<UseReagent> items, List<String> stockIds);

    void transfer(List<UseReagent> items, List<String> stockIds, ReturnReagentDTO returnReagentDTO, Warehouse warehouse);

}
